package oaSystem.entity;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class Role {
	private Integer id;
	private String name;
	private List<Function> functionAll = new ArrayList<Function>();
	private Map<String, List<Function>> functions = new HashMap<String, List<Function>>();
	
	
	public List<Function> getFunctionAll() {
		return functionAll;
	}
	public void setFunctionAll(List<Function> functionAll) {
		this.functionAll = functionAll;
	}
	public Map<String, List<Function>> getFunctions() {
		return functions;
	}
	public void setFunctions(Map<String, List<Function>> functions) {
		this.functions = functions;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Role() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Role(Integer id, String name) {
		super();
		this.id = id;
		this.name = name;
	}
	
	
}
